import request from '@/utils/request'
export function fetchListAll() {
  return request({
    url:'/subject/listall',
    method:'get',
  })
}

export function update(params) {
  return request({
    url:'/subject/update',
    method:'post',
    params:params
  })
}
export function add(params) {
  return request({
    url:'/subject/add',
    method:'post',
    params:params
  })
}
export function deletes(params) {
  return request({
    url:'/subject/delete',
    method:'delete',
    params:params
  })
}

